package com.avic.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "common")
public class CommonProperties {

    /**
     * 上传本地路径
     */
    private String uploadLocation;

    /**
     * 访问文件前缀
     */
    private String viewFilePrefix;
}
